cmake_minimum_required(VERSION 3.5)

project(image-remover-cli LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(SFML REQUIRED COMPONENTS graphics)

file(GLOB_RECURSE HEADERS "include/*.hpp")
file(GLOB_RECURSE SOURCES "src/*.cpp")

include_directories("./include")

if(SFML_FOUND)
    include_directories(${SFML_INCLUDE_DIR})
    add_executable(${PROJECT_NAME}
        main.cpp
        ${HEADERS}
        ${SOURCES}
    )
    target_link_libraries(${PROJECT_NAME} sfml-graphics)
endif()
